<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: 拔刀只为一人
  Date: 2023-06-19
  Time: 17:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台首页</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../css/global.css">
    <link rel="stylesheet" href="../css/admin.css">
    <script src="../layui/layui.js"></script>
    <script src="../js/admin.js"></script>
    <link rel="stylesheet" href="../css/lg.css">
</head>
<body class="layui-layout-body"  onload="startTime('<%=getCurrentTime()%>')">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header"  style="background-color: white !important;">
        <div class="layui-logo" style="color: black !important;font-family: 宋体;font-style: italic;width: 250px !important;font-weight: bold">
            <img class="lg" src="../images/lg/hotellg.png">猫尔顿国际酒店后台
        </div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;" style="color: black">
                    <img src="../images/admin/default.jpg" class="layui-nav-img">
                    您好:admin
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="auser.html">基本资料</a></dd>
                    <dd><a href="aq.html">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="../index.html"><p  style="color: black !important;">退出登录</p></a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black" style="background-color: white !important;">
        <div class="layui-side-scroll" style="border-radius: 35px;">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test" style="background-color: lightslategray">
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">酒店管理</a>
                    <dl class="layui-nav-child">
                        <dd id="d1" class="subMenu"><a href="javascript:;" data-url="../region/citytype.html">城市的信息</a></dd>
                        <dd id="d2" class="subMenu"><a href="javascript:;" data-url="one.html">城市的操作</a></dd>
                        <dd id="d3" class="subMenu"><a href="javascript:;" data-url="two.html">酒店的操作</a></dd>
                        <dd id="d4" class="subMenu"><a href="javascript:;" data-url="one.jsp">酒店的记录</a></dd>
                        <dd id="d5" class="subMenu"><a href="javascript:;" data-url="main/hotel.html">酒店的添加</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">客房管理</a>
                    <dl class="layui-nav-child">
                        <dd id="m1" class="subMenu"><a href="javascript:;" data-url="main/roominfo.html">客房信息</a></dd>
                        <dd id="m2" class="subMenu"><a href="javascript:;" data-url="roomtype.html">客房类型</a></dd>
                        <dd id="m3" class="subMenu"><a href="javascript:;" data-url="three.html">客房预定</a></dd>
                        <dd id="m4" class="subMenu"><a href="javascript:;" data-url="four.html">客房添加</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">会员管理</a>
                    <dl class="layui-nav-child">
                        <dd id="h1" class="subMenu"><a href="javascript:;" data-url="main/adminMain.html">会员信息</a></dd>
                        <dd id="h2" class="subMenu"><a href="javascript:;" data-url="roomtype.html">客房类型</a></dd>
                        <dd id="h3" class="subMenu"><a href="javascript:;" data-url="three.html">客房预定</a></dd>
                        <dd id="h4" class="subMenu"><a href="javascript:;" data-url="four.html">客房添加</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <dd id="m5" class="subMenu"><a href="javascript:;" data-url="four.html">预定管理</a></dd>
                </li>
                <li class="layui-nav-item">
                    <dd id="m6" class="subMenu"><a href="javascript:;" data-url="four.html">订单管理</a></dd>
                </li>
                <li class="layui-nav-item">
                    <dd id="m7" class="subMenu"><a href="javascript:;" data-url="four.html">邮箱管理</a></dd>
                </li>
                <li class="layui-nav-item"><a href="">云市场</a></li>
                <li class="layui-nav-item"><a href="">发布商品</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-tab layui-tab-brief" lay-filter="demo" lay-allowclose="true">
        <ul class="layui-tab-title site-demo-title">
            <li id="homeTab" class="layui-this" lay-id="1">首页</li>
        </ul>

        <div class="layui-body layui-tab-content site-demo site-demo-body" style="overflow: hidden;">
            <div class="layui-tab-item layui-show" style="overflow-y:auto;">
                <iframe src="main.html" class="layadmin-iframe" frameborder="no" border="0" allowtransparency="yes"></iframe>
            </div>
        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © 猫尔顿国际酒店后台  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  当前时间： <%= getCurrentTime() %>
    </div>
</div>
<%!
    public String getCurrentTime() {
        // 创建日期格式化器
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm");
        // 获取当前时间
        Date currentTime = new Date();
        // 格式化当前时间并返回
        return sdf.format(currentTime);
    }
%>
</body>
</html>
